package com.wbw.ssb.mbg.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.annotation.Generated;

public class Granary implements Serializable {
    private Long id;

    @ApiModelProperty(value = "编号")
    private Long number;

    private String name;

    @ApiModelProperty(value = "正常状态")
    private Boolean status;

    private Double longitude;

    private Double latitude;

    @ApiModelProperty(value = "启用状态")
    private Boolean enable;

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    private static final long serialVersionUID = 1L;

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Long getId() {
        return id;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setId(Long id) {
        this.id = id;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Long getNumber() {
        return number;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setNumber(Long number) {
        this.number = number;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public String getName() {
        return name;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setName(String name) {
        this.name = name;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Boolean getStatus() {
        return status;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setStatus(Boolean status) {
        this.status = status;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Double getLongitude() {
        return longitude;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Double getLatitude() {
        return latitude;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public Boolean getEnable() {
        return enable;
    }

    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    @Generated("org.mybatis.generator.api.MyBatisGenerator")
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", number=").append(number);
        sb.append(", name=").append(name);
        sb.append(", status=").append(status);
        sb.append(", longitude=").append(longitude);
        sb.append(", latitude=").append(latitude);
        sb.append(", enable=").append(enable);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}